<template>
  <div><Vchart class="h-300px w-600px" :option="baojinOptions" autoresize /></div>
</template>
<script lang="ts" setup>
import Vchart from "vue-echarts"
import { computed } from "vue"
const baojinOptions = computed(() => {
  return {
    tooltip: {},
    xAxis: {
      type: "category",
      data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
    },
    yAxis: {
      type: "value"
    },
    series: [
      {
        data: [120, 200, 150, 80, 70, 110, 130],
        type: "bar"
      }
    ]
  }
})
</script>
